package com.djl.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import lombok.Data;
import lombok.ToString;

/**
 * null
 * @author  dongjialin
 * @date 2021-12-08 
 */
@ToString
@Data
@Entity ( name ="books" )
public class Books {

	@Column(name = "b_pk_id", length = 11 ,nullable = false,columnDefinition = "null")
	private Integer bPkId;

	@Column(name = "b_photo", length = 50 ,nullable = false,columnDefinition = "null")
	private String bPhoto;

	@Column(name = "b_name", length = 20 ,nullable = false,columnDefinition = "null")
	private String bName;

	@Column(name = "b_price", length = 11 ,nullable = false,columnDefinition = "null")
	private Integer bPrice;

}
